package com.itheima.demo;

public class Test {
    public static void main(String[] args) {
        Man man = new Man();
        man.eat();
        man.drink();
        Woman woman = new Woman();
        woman.eat();
        woman.drink();
        Girl girl = new Girl();
        girl.eat();
        girl.drink();//调用其父类的父类的方法
//      girl.multiply(); 父类中的私有化方法，子类继承不到该方法

        Man man2 = new Man("11","22","22","55");
        man2.show();
    }
}
